package resturant;

import java.io.File;


public class ResturantManager {

	//Initialise local variables
	private String currentpath= null;
	private  String Menu = "\\Menu.txt";
	private  String Orders = "\\Orders.txt";
	private  String Outfile = "\\Report.txt";
	 
	public ResturantManager() {

	//	currentpath = new File("").getAbsolutePath();
		
	}
	
	public void run()
	{
		MenuList menu = new MenuList();
		OrdersList orders = new OrdersList();	
		ResturantReport Resturant;
		
		menu.process(Menu);
		orders.process(Orders);
		
		Resturant = new ResturantReport(orders.GetOrders(),menu.GetMenu());
		Resturant.GenerateReport();
	      
		//sList.WriteToOuptutfile(currentpath +Outfile);  //compute the final report and write to the output file
	}
	


}
